package com.ezcms.dao;

import javax.annotation.Resource;
import javax.persistence.EntityManagerFactory;

import org.hibernate.SessionFactory;
import org.springframework.orm.jpa.support.JpaDaoSupport;

public class JpaBaseDao extends JpaDaoSupport {
	@Resource(name="entityManagerFactory")    
	 public void setSuperSessionFactory(EntityManagerFactory entityManagerFactory){
	        super.setEntityManagerFactory(entityManagerFactory);
	    }
}
